part of '../repository.dart';

const _kPurchasedSubscriptionInfoNewSubscriptionCancellationInfoTypeValue = 'new_subscription';

class _PurchasedSubscriptionInfoNewSubscriptionCancellationInfoDto extends Equatable
    implements _PurchasedSubscriptionInfoCancellationInfoDto {
  const _PurchasedSubscriptionInfoNewSubscriptionCancellationInfoDto();

  @override
  String get type => _kPurchasedSubscriptionInfoNewSubscriptionCancellationInfoTypeValue;

  @override
  List<Object?> get props => [];

  @override
  Map<String, dynamic> toJson() {
    return {
      _kPurchasedSubscriptionInfoCancellationInfoTypeKey: type,
    };
  }

  @override
  GooglePlayPurchasedSubscriptionInfoNewSubscriptionCancellationInfo toEntity() {
    return const GooglePlayPurchasedSubscriptionInfoNewSubscriptionCancellationInfo();
  }
}
